#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

#include "spidev_interface.h"

#define PROGRAM_NAME "spidev_interface"

int init_spi(char const *dev_name)
{
    int fd;
    return fd;
}

int set_spi_mode(int fd, uint32_t mode, int8_t bits, uint32_t speed)
{
    int ret;
    return ret;
}

int close_spi(int fd)
{
    int ret;
;
    return ret;
}

void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len)
{

}
